/**
  ******************************************************************************
  * @file    SmartSwitch_key.h
  * @author  sc
  * @date    2017-04-06
  * @brief   key
  ******************************************************************************
  */ 

#ifndef __SMART_SWITCH_KEY_H__
#define __SMART_SWITCH_KEY_H__
/* Includes ------------------------------------------------------------------*/
#include "SmartSwitch_bsp.h"

#define KEY_VALUE_CANCEL		0x0001
#define KEY_VALUE_AFFIRM		0x0020
#define KEY_VALUE_UP			0x0004
#define KEY_VALUE_DOWN			0x0008
#define KEY_VALUE_LEFT			0x0002
#define KEY_VALUE_RIGHT			0x0010


void SC_KeyHardInit(void);
int32_t SC_KeySoftInit(void);
int32_t SC_KeyGetValue(uint32_t *keyValue);

#endif
